65599490b4244475f8a98f9b7a142c505691850a,src/main/java/com/infinityraider/agricraft/renderers/blocks/RenderWaterPad.java,RenderWaterPad,renderBase,#ITessellator#IBlockAccess#BlockPos#boolean#,63
Before Change
tess.setBrightness(Blocks.water.getMixedBrightnessForBlock(world, pos));
tess.setColorRGBA(f4 * f, f4 * f1, f4 * f2, 0.8F);
*/
tess.drawScaledFace(15, 15, 16, 16, EnumFacing.UP, waterIcon, 14);
}
if (shouldRenderCorner(world, pos, full, EnumFacing.SOUTH, EnumFacing.WEST)) {
After Change
*/
tess.translate(pos.getX(), pos.getY(), pos.getZ());
tess.drawScaledFace(15, 0, 16, 1, EnumFacing.UP, waterIcon, 14);
tess.translate(-pos.getX(), -pos.getY(), -pos.getZ());
}
if (shouldRenderCorner(world, pos, full, EnumFacing.EAST, EnumFacing.SOUTH)) {
//renderer.setRenderBounds(15 * u, 8 * u, 15 * u, 16 * u, 15 * u, 16 * u);
//renderer.renderStandardBlock(Blocks.farmland, pos);
} else if (full) {
/*
int l = Blocks.water.colorMultiplier(world, pos);
float f = (float) (l >> 16 & 255) / 255.0F;
float f1 = (float) (l >> 8 & 255) / 255.0F;
float f2 = (float) (l & 255) / 255.0F;
float f4 = 1.0F;
tess.setBrightness(Blocks.water.getMixedBrightnessForBlock(world, pos));
tess.setColorRGBA(f4 * f, f4 * f1, f4 * f2, 0.8F);
*/
tess.translate(pos.getX(), pos.getY(), pos.getZ());
tess.drawScaledFace(15, 15, 16, 16, EnumFacing.UP, waterIcon, 14);
tess.translate(-pos.getX(), -pos.getY(), -pos.getZ());
}
if (shouldRenderCorner(world, pos, full, EnumFacing.SOUTH, EnumFacing.WEST)) {